[IA64] Display the information in fault handler
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 10 May 2006 21:50:27 +0000 (15:50 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 10 May 2006 21:50:27 +0000 (15:50 -0600)
commit4755f564d4e80f3a154fc05a5332450122abae4f
treed64953a7e9968ed49e2a740d0d91ece36b79a712
parent3ed3d586872fd3eb3b75aa983cadd43d6c31ee69
[IA64] Display the information in fault handler

  This patch modifies the interruption handler to display the
information about the interruption and then do panic in the case of the
fault occurred in hypervisor, or reflect to the guest when handling the
fault in guest.

  The modification is as follows:
1. In each handler in IVT, the procedure is added to branch to fault
handler or reflection according to ipsr.cpl.
2. In the case of the fault occurred in hypervisor(ipsr.cpl==0), the
fault handler displays the information (vector, registers, and stack by
calling show_registers()), and then do panic().
3. In the case of the fault occurred in guest(ipsr.cpl!=0), it is
reflected to the guest.

  With this modification, some faults which were always treated to be
reflected to the guest are changed to do panic when they occur in
hypervisor.

Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com>
xen/arch/ia64/xen/ivt.S
xen/arch/ia64/xen/process.c